<?php
class Tourism_freight_free_model extends CI_Model
{
    private $table = 'tourism_freight_free';
    
     /**
     * 获取免费的地址
     * @param unknown $tid
     * @param unknown $province
     */
    public function getFreeByArea($tid,$province){
    	
        $this->db->where('tid',$tid);
        $this->db->like('free_area',$province);
        return $this->db->get($this->table);
    }
}